
Ext.define('SHApp.CompanyManage.CompanyInfo.GridItem', {
    extend: 'SH.Core.BaseTree',
    alias: 'widget.InfoTree',
    txtChineseFullNameID: 'txtChineseFullName',
    //dataModel: "CompanyInfo",
    dataUrl: "api/companyinfoitem?format=json",
    fields: ["id", "leaf", "text", "iconCls", "parentId", "expanded", "children", "name"],
    rootVisible: true,
    rootText: "企业分类",
    autoSync: false,
    initComponent: function () {
        var me = this;
        Ext.apply(this);
        me.btnAddID += me.id;
        me.btnEditID += me.id;
        me.btnDeleteID += me.id;
        me.txtChineseFullNameID += me.id;
        //this.creatTbar();
        this.callParent(arguments);
    }
})

